﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace INSTA.MusiqueStore.DAL
{
    public partial class Artiste
    {
        public override string ToString()
        {
            return NomComplet;
        }

        public string NomComplet
        {
            get
            {
                var res = "";
                if (Nom=="")
                {
                    res = Prénom;
                }
                else
                {
                    res = Prénom + " " + Nom;
                }
                return res;
            }
        }
    }
}
